const getters = {
  sidebar: state => state.app.sidebar,
  device: state => state.app.device,
  token: state => state.user.token,
  avatar: state => state.user.avatar,
  name: state => state.user.name,
  roles: state => state.user.roles,
  permission_routes: state => state.permission.routes,
  visitedViews: state => state.tagsView.visitedViews, // tagViews
  cachedViews: state => state.tagsView.cachedViews, // tagViews

  // product
  allInfo: state => state.product.allInfo, // 全部信息
  spu: state => state.product.spu, // 商品spu信息
  disabled: state => state.product.disabled, // spu是否锁定
  skuList: state => state.product.skuList, // 商品sku信息列表
  skuDisabledList: state => state.product.skuDisabledList, // 商品sku信息列表是否锁定

  // brand
  brandForm: state => state.brand.brandForm, // 品牌信息
  brandAllInfo: state => state.brand.brandAllInfo, // 品牌信息


}
export default getters
